package multithread.framework;

import java.util.concurrent.Future;
import multithread.framework.threadmethod.FutureQueue;
import multithread.framework.threadmethod.IThreadMethod;
import multithread.framework.threadmethod.ThreadResult;
/**
 * listener for every thread or thread group complete
 * @author dailey_dai
 *
 */
public interface ThreadRunListener {
	
	public void onThreadComplete(IThreadMethod threadmethod,
			Future<ThreadResult> future);
	
	public void onThreadGroupComplete(IThreadMethod threadmethod,
			FutureQueue<ThreadResult> futureQueue);
	
}